package com.neo.controller.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description:feign客户端 <br/>
 *
 * @author liulonglong<br />
 * @taskId <br/>
 * @Date 2019/9/25 17:36
 * @Version 1.0
 */
@FeignClient(name = "nacos-provider")
public interface ProviderFeignClient {
    @GetMapping("/hello")
    String index(@RequestParam(value = "name", defaultValue = "LLL", required = false) String name);
}
